package errorcode

//全局错误码
const (
	EC_GL_SUCCESS              uint = 0
	PM_LOGIN_PERMISSION_DENIDE uint = 101001
	EC_GL_INVALID_ACCESS_TOKEN uint = 403001
	EC_GL_INVALID_APPKEY       uint = 403002
	EC_GL_INVALID_IP           uint = 403003
	EC_GL_INVALID_URL_TIME     uint = 403004
	EC_GL_INVALID_URL_SIGN     uint = 403005
	EC_GL_INVALID_SERVICE      uint = 403006
	EC_GL_INVALID_SESSIONID    uint = 403007
	EC_GL_INVALID_HTTPS        uint = 403008
	EC_GL_INVALID_URL_PARAMS   uint = 403009
	EC_GL_EXEC_SQL_FAIL        uint = 403010
	EC_GL_REMOTE_REQ_FAIL      uint = 403011
	EC_GL_INVALID_JSON_BODY    uint = 404001
	EC_GL_INTERNAL_ERROR       uint = 503001
	EC_GL_MOBILE_FORMAT_ERROR  uint = 503002
)

//业务错误码
const (
	EC_QKCOUPON_COUPON_NOT_EMPTY           uint = 20701001 //优惠券编码不能为空！
	EC_QKCOUPON_COUPON_NOT_EXIST           uint = 20701002 //该优惠券不存在！
	EC_QKCOUPON_COUPON_INVALID             uint = 20701003 //该优惠券已失效！
	EC_QKCOUPON_COUPON_ALREADY_USED        uint = 20701004 //该优惠券已使用！
	EC_QKCOUPON_USE_COUPON_FAIL            uint = 20701005 //使用优惠券失败，请重试！
	EC_QKCOUPON_DEL_COUPON_FAIL            uint = 20701006 //删除优惠券失败，请重试！
	EC_QKCOUPON_CREATE_COUPON_FAIL         uint = 20701007 //创建优惠券信息失败，请重试！
	EC_QKCOUPON_GET_COUPON_FAIL            uint = 20701008 //获取优惠券信息失败，请重试！
	EC_QKCOUPON_DISPATCH_COUPON_FAIL       uint = 20701009 //分发优惠券信息失败，请重试！
	EC_QKCOUPON_GET_COUPON_COUNT_FAIL      uint = 20701010 //获取优惠券总数量失败，请重试！
	EC_QKCOUPON_CREATE_SHARE_COUPON_FAIL   uint = 20701011 //创建分享优惠券信息失败，请重试！
	EC_QKCOUPON_ALREADY_RECEIVE_COUPON     uint = 20701012 //您已经领取过优惠劵啦，留点机会给别人吧！
	EC_QKCOUPON_COUPON_GRAB_END            uint = 20701013 //优惠劵已经被抢光啦！
	EC_QKCOUPON_ALREADY_EXIST_SHARE        uint = 20701014 //已经存在分享优惠劵！
	EC_QKCOUPON_SETTING_ITEM_NOT_EXIST     uint = 20701015 //设置项不存在！
	EC_QKCOUPON_RECOMMENDER_NOT_EXIST      uint = 20701016 //推荐者不存在！
	EC_QKCOUPON_CREATE_RECOMMEND_FAIL      uint = 20701017 //创建推荐有奖信息失败，请重试！
	EC_QKCOUPON_CANT_RECOMMEND_MYSELF      uint = 20701018 //自已不能领取新手福利！
	EC_QKCOUPON_RECOMMEND_NOT_EXIST        uint = 20701019 //推荐信息不存在！
	EC_QKCOUPON_ALREADY_EXIST_RECOMMEND    uint = 20701020 //推荐信息已经存在！
	EC_QKCOUPON_ALREADY_RECEIVE_RECOMMEND  uint = 20701021 //您已经领取过新手福利啦！
	EC_QKCOUPON_ALREADY_CALL_FIRST_WASHING uint = 20701022 //第一次洗衣时已经调用过，不用重复调用！
	EC_QKCOUPON_ALREADY_OLD_USER           uint = 20701023 //已经是老用户，不能领取新手福利啦！
	EC_QKCOUPON_BIND_PEOPLE_OVER_RANGE     uint = 20701024 //绑定人数超过当天最大限度！
	EC_QKCOUPON_DUPLICATE_EXHCANGE_TEXT    uint = 20701025 //兑换码重复！
	EC_QKCOUPON_EXCHANGE_GRAB_END          uint = 20701026 //您已到达领取次数上限，留点机会给别人吧！
	EC_QKCOUPON_INVALID_EXHCANGE_TEXT      uint = 20701027 //兑换码不存在！

)
